Release 10.1A: OpenEdge Development:
Progress 4GL Reference
SET-INPUT-SOURCE( ) method
Specifies the source of the XML to be parsed by the SAX-reader.
Return type: LOGICAL Applies to: SAX-reader object handle
modeA CHARACTER expression evaluating to “FILE”, “MEMPTR”, “HANDLE”, or “LONGCHAR” indicating whether the XML source is a file, a MEMPTR, a WEB-CONTEXT system handle, or a LONGCHAR variable.
fileA CHARACTER expression that indicates the name of a file. This can be a relative pathname, an absolute pathname, or an HTTP URL.
memptrA MEMPTR variable that contains the loaded XML text. The size of the MEMPTR variable must match the size of the XML text.
handleA WEB-CONTEXT system handle. In a WebSpeed application, this directs SAX-reader to get the XML source from WEB-CONTEXT.
longcharA LONGCHAR variable that contains the loaded XML text. The size of the LONGCHAR variable must match the size of the XML text.
The following checks are not performed by SET-INPUT-SOURCE( ) but are performed by SAX-PARSE( ) at run time:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |